﻿using System;

namespace BSDS.Commands.Commands
{
    public class CommandDispatchEventArgs : EventArgs
    {
        public ICommand Command { get; private set; }
        public CommandResult Result { get; private set;}
        public ExecutionContext Context { get; private set; }

        public CommandDispatchEventArgs(ICommand command, CommandResult result, ExecutionContext context)
        {
            Command = command;
            Result = result;
            Context = context;
        }
    }
}